package com.fc.mall.model;

import java.io.Serializable;

public class UmsBusinessConfig implements Serializable {
    /**
     * 主键
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * 推荐人时是否暂时锁定该粉丝，1->需要暂时锁定 0->不需要暂时锁定，直接为真正会员
     *
     * @mbggenerated
     */
    private Integer lockReferer;

    /**
     * 锁定时长, 单位小时
     *
     * @mbggenerated
     */
    private Integer lockDuration;

    /**
     * 推荐人/上级分佣百分比
     *
     * @mbggenerated
     */
    private Integer referer;

    /**
     * 上级的上级分佣百分比
     *
     * @mbggenerated
     */
    private Integer superReferer;

    /**
     * 合伙人分佣百分比
     *
     * @mbggenerated
     */
    private Integer partner;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getLockReferer() {
        return lockReferer;
    }

    public void setLockReferer(Integer lockReferer) {
        this.lockReferer = lockReferer;
    }

    public Integer getLockDuration() {
        return lockDuration;
    }

    public void setLockDuration(Integer lockDuration) {
        this.lockDuration = lockDuration;
    }

    public Integer getReferer() {
        return referer;
    }

    public void setReferer(Integer referer) {
        this.referer = referer;
    }

    public Integer getSuperReferer() {
        return superReferer;
    }

    public void setSuperReferer(Integer superReferer) {
        this.superReferer = superReferer;
    }

    public Integer getPartner() {
        return partner;
    }

    public void setPartner(Integer partner) {
        this.partner = partner;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", lockReferer=").append(lockReferer);
        sb.append(", lockDuration=").append(lockDuration);
        sb.append(", referer=").append(referer);
        sb.append(", superReferer=").append(superReferer);
        sb.append(", partner=").append(partner);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}